package club.wx3609.images.interfaces.repository;

import club.wx3609.images.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User,Integer> {

    public User findByUserNumberAndUserPassword(String userNumber,String userPassword);

    public User findByUserNumber(String userNumber);
}
